package com.darren.euc.dao;

import java.util.List;

import com.darren.euc.entity.ContractProduct;


public interface ContractProductDao extends BaseDao<ContractProduct,Integer>{
	
    public List<ContractProduct> getAll(); 
 
    public List<ContractProduct> queryContractProducts(Integer spaceId,String roomName,String rentStart,String rentEnd); 
    
    public List<ContractProduct> queryByContractId(Integer contractId); 
    
    
    public void deleteByContractId(Integer contractId);

    List<ContractProduct> findByRoomId(Integer roomId);
}